from django.urls import path
from . import views

urlpatterns = [
    # 原有的视频爬虫相关路由
    path('crawl_drama/', views.crawl_drama, name='crawl_drama'),
    path('drama_m3u8_list/', views.drama_m3u8_list, name='drama_m3u8_list'),
    
    # 新增的公众号文章相关路由
    path('crawl_wechat_article/', views.crawl_wechat_article_api, name='crawl_wechat_article'),
    path('batch_crawl_wechat_articles/', views.batch_crawl_wechat_articles_api, name='batch_crawl_wechat_articles'),
    path('wechat_article_list/', views.wechat_article_list, name='wechat_article_list'),
    path('wechat_article_detail/<int:article_id>/', views.wechat_article_detail, name='wechat_article_detail'),
] 